package com.example.pceb.service;

import java.util.List;
import java.util.Map;
import com.example.pceb.entity.CooperationApplication;
import com.example.pceb.entity.SchoolEnterpriseCooperation;

public interface CooperationApplicationService {
    void submitApplication(CooperationApplication application);
    List<CooperationApplication> getApplicationsByPublisher(String publisherUsername);
    List<CooperationApplication> getApplicationsByPublisherType(String publisherType);
    void reviewApplication(CooperationApplication application);
    CooperationApplication getApplicationById(Long id);
    List<CooperationApplication> getMyApplications(String username, String userType);
    List<CooperationApplication> getProjectApplications(Long projectId);
    void cancelApplication(Long id, String username);
    List<Map<String, Object>> getMyApplicationsWithProject(String username);
    SchoolEnterpriseCooperation selectProjectById(Long id);
}